package xyz.yudan.app.dao.biz;

import xyz.yudan.app.dao.base.BaseTask;
import xyz.yudan.app.dao.base.BaseUser;
import xyz.yudan.app.relation.UserTaskRelation;

import java.util.ArrayList;

/**
 * Created by gamy on 2018/4/6.
 */

public class BizTask extends BaseTask {


    private BaseUser creator = null; //创建者
    private ArrayList<BaseUser> executors = null; //执行者列表
    private int relation = UserTaskRelation.NONE; //当前用户与任务的关系

    public BizTask(BaseTask task) {
        super(task);
    }

    public BaseUser getCreator() {
        return creator;
    }

    public void setCreator(BaseUser creator) {
        this.creator = creator;
    }

    public ArrayList<BaseUser> getExecutors() {
        return executors;
    }

    public void setExecutors(ArrayList<BaseUser> executors) {
        this.executors = executors;
    }

    public int getRelation() {
        return relation;
    }

    public void setRelation(int relation) {
        this.relation = relation;
    }
}
